package com.sitech.openapi.domain.ProductOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "Staff", description = "员工信息")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    // 员工标识
    @ApiModelProperty(value = "员工标识")
    private Long staffId;

    // 参与人标识,参与人唯一标识
    @ApiModelProperty(value = "参与人标识")
    private Long partyId;

    // 员工编码
    @ApiModelProperty(value = "员工编码")
    private String staffCode;

    // 员工账号
    @ApiModelProperty(value = "员工账号")
    private String staffAccount;

    // 组织标识外键,员工的归属管理组织
    @ApiModelProperty(value = "电信组织标识")
    private Long orgId;

    // 员工类型，参考主数据编码
    @ApiModelProperty(value = "员工类型")
    private String staffType;

    // 员工名称
    @ApiModelProperty(value = "员工名称")
    private String staffName;

    // 员工描述
    @ApiModelProperty(value = "员工描述")
    private String staffDesc;

    // 公用管理区域标识,记录区域唯一标识
    @ApiModelProperty(value = "公共管理区域标识")
    private Long commonRegionId;

    // 记录区域编码。
    @ApiModelProperty(value = "区域编码")
    private String regionNbr;

    // 引用一组资源Organization
    @ApiModelProperty(value = "电信组织")
    private List<Organization> organization;

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public Long getPartyId() {
        return partyId;
    }

    public void setPartyId(Long partyId) {
        this.partyId = partyId;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getStaffAccount() {
        return staffAccount;
    }

    public void setStaffAccount(String staffAccount) {
        this.staffAccount = staffAccount;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getStaffType() {
        return staffType;
    }

    public void setStaffType(String staffType) {
        this.staffType = staffType;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffDesc() {
        return staffDesc;
    }

    public void setStaffDesc(String staffDesc) {
        this.staffDesc = staffDesc;
    }

    public Long getCommonRegionId() {
        return commonRegionId;
    }

    public void setCommonRegionId(Long commonRegionId) {
        this.commonRegionId = commonRegionId;
    }

    public String getRegionNbr() {
        return regionNbr;
    }

    public void setRegionNbr(String regionNbr) {
        this.regionNbr = regionNbr;
    }

    public List<Organization> getOrganization() {
        return organization;
    }

    public void setOrganization(List<Organization> organization) {
        this.organization = organization;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "staffId=" + staffId +
                ", partyId=" + partyId +
                ", staffCode='" + staffCode + '\'' +
                ", staffAccount='" + staffAccount + '\'' +
                ", orgId=" + orgId +
                ", staffType='" + staffType + '\'' +
                ", staffName='" + staffName + '\'' +
                ", staffDesc='" + staffDesc + '\'' +
                ", commonRegionId=" + commonRegionId +
                ", regionNbr='" + regionNbr + '\'' +
                ", organization=" + organization +
                '}';
    }
}
